#!/bin/sh

OPTDIR=			# fill by ebuild
DATADIR=		# fill by ebuild

if [ ! -e "${DATADIR}" ] ; then
    mkdir -p "${DATADIR}"
fi
DISPLAY= WAYLAND_DISPLAY= WINEDEBUG=-all WINEPREFIX="${DATADIR}" wineboot > /dev/null
DISPLAY= WAYLAND_DISPLAY= WINEDEBUG=-all WINEPREFIX="${DATADIR}" wine "${OPTDIR}/ISCC.exe" ${@}
